package test;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTable;
import javax.swing.WindowConstants;
import javax.swing.table.DefaultTableModel;
import javax.swing.table.TableModel;

/**
* This code was edited or generated using CloudGarden's Jigloo
* SWT/Swing GUI Builder, which is free for non-commercial
* use. If Jigloo is being used commercially (ie, by a corporation,
* company or business for any purpose whatever) then you
* should purchase a license for each developer using Jigloo.
* Please visit www.cloudgarden.com for details.
* Use of Jigloo implies acceptance of these licensing terms.
* A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
* THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED
* LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
*/
public class Trala extends javax.swing.JFrame {
	private JScrollPane jScrollPane1;
	private JPanel jPanel1;
	private JTable jTable2;
	private JTable jTable1;

	/**
	* Auto-generated main method to display this JFrame
	*/
	public static void main(String[] args) {
		Trala inst = new Trala();
		inst.setVisible(true);
	}
	
	public Trala() {
		super();
		initGUI();
	}
	
	private void initGUI() {
		try {
			setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
			getContentPane().setLayout(null);
			{
				jScrollPane1 = new JScrollPane();
				getContentPane().add(jScrollPane1);
				jScrollPane1.setBounds(21, 7, 343, 245);
				{
					jPanel1 = new JPanel();
					jScrollPane1.setViewportView(jPanel1);
					jPanel1.setPreferredSize(new java.awt.Dimension(343, 245));
					jPanel1.setLayout(null);
					{
						TableModel jTable1Model = new DefaultTableModel(
							new String[][] { { "One", "Two" },
									{ "Three", "Four" } },
							new String[] { "Column 1", "Column 2" });
						jTable1 = new JTable();
						
						jPanel1.add(jTable1);
						jTable1.setModel(jTable1Model);
						jTable1.setBounds(112, 14, 231, 224);
						jTable1.getTableHeader().setBounds(0, -14, 210, 14);
						jTable1.getTableHeader().setVisible(true);
					}
					{
						TableModel jTable2Model = new DefaultTableModel(
							new String[][] { { "One", "Two" },
									{ "Three", "Four" } },
							new String[] { "Column 1", "Column 2" });
						jTable2 = new JTable();
						jPanel1.add(jTable2);
						jTable2.setModel(jTable2Model);
						jTable2.setBounds(0, 14, 112, 231);
					}
				}
			}
			pack();
			setSize(400, 300);
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

}
